PortingUtils

Functions

Link copied to clipboard
fun getWhite(alpha: Float): Int
Link copied to clipboard
fun <T> Registry<T>.namedEntryList(tagKey: TagKey<T>): Optional<RegistryEntryList.Named<T>>
Link copied to clipboard
fun <T> RegistryWrapper.WrapperLookup.optional(key: RegistryKey<out Registry<T>>): Optional<out RegistryWrapper.Impl<T>>
fun <T> Registry<T>.optional(id: Identifier): Optional<T>
Link copied to clipboard
fun <T> TagKey<T>.regRef(): RegistryKey<out Registry<T>>
Link copied to clipboard
fun TagKey<*>.regRefId(): Identifier
Link copied to clipboard
fun PlayerEntity.sendChat(message: Text)
Link copied to clipboard
fun <T> Registry<T>.tagIdList(): List<Identifier>
fun <T> RegistryWrapper.Impl<T>.tagIdList(predicate: Predicate<Identifier>? = null): List<Identifier>
fun <T> Registry<T>.tagIdList(predicate: Predicate<Identifier>? = null): List<Identifier>